query($q); $dbf->next_record(); ?> AFFILIATE ADMINSTRATION AREA:
 
Payout History:
No. Amount: Date: Amount Applied:
f(affiliate_account_id); $db = new ps_DB; $q = "SELECT * FROM credit WHERE credit_account_id='$account_id' AND credit_type='2';"; $db->query($q); while ($db->next_record()) { ?> f("credit_status") != 1) { echo "bgcolor=\"#C8DBDB\""; } else { echo "bgcolor=\"#E2E9E9\""; } ?>>
f("credit_id");?> f("credit_amount"));?> f("credit_date_added");?> f("credit_status"); if($status==0) $amount = "0"; if($status==1) $amount = $db->f("credit_amount"); if($status==2) $amount = $db->f("credit_amount_applied"); echo setup("currency"); printf("%.2f", $amount); ?>
num_rows() < 1) echo "No payouts have been issued at this time."; ?>
 
Referrals Resulting in Sales:
No. Amount: Date: Status: Affiliate Fee:
query($q); while ($db->next_record()) { ?>
"> f("order_id");?> f("order_amount"));?> f("order_date");?> f("order_status"); if ($s == 0) echo "Pending"; if ($s == 1) echo "Complete"; if ($s == 2) echo "Voided"; if ($s == 3) echo "Canceled"; if ($s == 4) echo "Declined";?> f("affiliate_type"); if ($t == 1) { $s = setup("aff_pay_1"); if ($s==0) { $amount = setup("aff_pay_1a") * $db->f("order_amount"); } if ($s==1) { $amount = setup("aff_pay_1a"); } echo setup("currency"); printf("%.2f",$amount); } if ($t == 2) { $s = setup("aff_pay_2"); if ($s==0) { $amount = setup("aff_pay_2a") * $db->f("order_amount"); } if ($s==1) { $amount = setup("aff_pay_2a"); } echo setup("currency"); printf("%.2f",$amount); } ?>
num_rows() < 1) echo "No referrals have resulted in sales at this time."; ?>
 
Total Referrals to Date:
 
Link:

URL: Test It Here!


Affiliate Information


f("affiliate_name") ;?>

f("affiliate_address") ;?>
f("affiliate_city");?> , f("affiliate_state");?>
f("affiliate_zip");?>

f("affiliate_type")==2) { if (get_affiliate_payout($affiliate_id) > 0) { if (get_payout_date() <= 0) { ?>

PAYMENT IS CURRENTLY DUE!
Amount Due:

This customer has requested that payment be mailed to them.
To view a full list of affiliate payouts due, please click here.



To Delete this affiliate:
Note, if you delete this affiliate, it will also delete all the credits that have come from this affiliate account. This action IS FINAL AND CAN NOT BE UNDONE!

Click here if you wish to delete the affiliate now.